home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Games / xjewel / general.h < prev    next >
C/C++ Source or Header  |  1995-05-03  |  373b  |  27 lines

  1. /*
  2. **
  3. **    X11 Jewel By David Cooper and Jose Guterman 05/92
  4. **
  5. */
  6.  
  7.  
  8. typedef unsigned long Pixel;
  9. typedef void (*FCN_PTR) ();
  10.  
  11. #define FALSE    0
  12. #define TRUE    1
  13. typedef int BOOL;
  14.  
  15. #define NUM_ROWS    14
  16. #define NUM_COLS    6
  17. #define BLOCK_SIZE    3
  18.  
  19. #ifndef NULL
  20. #define NULL 0
  21. #endif
  22.  
  23. #ifdef SYSV
  24. # define srandom(x)  srand48(((long)(x)))
  25. # define random()    lrand48()
  26. #endif /*SYSV*/
  27.